package com.shop.model;
/*
CREATE TABLE `register` (
		  `id` int(11) NOT NULL AUTO_INCREMENT,
		  `username` varchar(255) DEFAULT NULL,
		  `password` varchar(255) DEFAULT NULL,
		  `email` varchar(255) DEFAULT NULL,
		  `name` varchar(255) DEFAULT NULL,
		  `sex` varchar(255) DEFAULT NULL,
		  `birthday` varchar(255) DEFAULT NULL,
		  PRIMARY KEY (`id`)
		) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
*/
public class Registration {
	private String username;
	private String password;
	private String email;
	private String name;
	private String sex;
	private String birthday;
	
	
	public Registration() {
		
	}
	
	public Registration(String username, String password, String email, String name, String sex, String birthday) {
		super();
		this.username = username;
		this.password = password;
		this.email = email;
		this.name = name;
		this.sex = sex;
		this.birthday = birthday;
	}
	@Override
	public String toString() {
		return "Registration [username=" + username + ", password=" + password + ", email=" + email + ", name=" + name
				+ ", sex=" + sex + ", birthday=" + birthday + "]";
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getBirthday() {
		return birthday;
	}
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
}
